﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class SanPhamThuongDangBanTrenGianHangDTO
    {
        #region 1   -   Attributes
        private int _ID;
        private int _MaGianHang;
        private int _MaSanPham;
        private long _GiaDangBan;
        private bool _TinhTrangSanPham;
        #endregion


        #region 2   -   Properites

        public int ID
        {
            get { return this._ID; }
            set { this._ID = value; }
        }
        public int MaGianHang
        {
            get { return this._MaGianHang; }
            set { this._MaGianHang = value; }
        }
        public int MaSanPham
        {
            get { return this._MaSanPham; }
            set { this._MaSanPham = value; }
        }

        public long GiaDangBan
        {
            get { return this._GiaDangBan; }
            set { this._GiaDangBan = value; }
        }

        public bool TinhTrangSanPham
        {
            get { return this._TinhTrangSanPham; }
            set { this._TinhTrangSanPham = value; }
        }

        #endregion

        #region Constructors

        public SanPhamThuongDangBanTrenGianHangDTO() { }

        public SanPhamThuongDangBanTrenGianHangDTO(int magianhang, int masanpham, long giadangban, bool tinhtrangsanpham)
        {
            MaGianHang = magianhang;
            MaSanPham = masanpham;
            GiaDangBan = giadangban;
            TinhTrangSanPham = tinhtrangsanpham;
        }
        #endregion

    }
}
